package cn.yunyichina.provider.framework.dubbo.service;

import cn.yunyichina.provider.framework.data.SpringContextHandler;
import cn.yunyichina.provider.iface.service.IMerchant;

/**
 * Created by kevin on 2017/12/12.
 */
public class MerchantService {

    static final String serviceName = "merchantService";

    static IMerchant merchantService = null;

    static {
        merchantService = SpringContextHandler.getBean(serviceName);
    }

    public static IMerchant getMerchantService(){
        return merchantService;
    }
}
